package org.kl.bpm.repository.conf;

import org.kl.bf.repository.BasicRepository;
import org.kl.bpm.entity.conf.BpmConfListener;
import org.kl.bpm.entity.conf.BpmConfNode;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface BpmConfListenerDao extends BasicRepository<BpmConfListener, String>, JpaSpecificationExecutor<BpmConfListener> {

	@Query("from BpmConfListener where value=? and type=? and status=1 and bpmConfNode=?")
	BpmConfListener findByVTB(String value, Integer type, BpmConfNode bpmConfNode);
}
